<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<jsp:directive.page import="com.toncen.samepms.demo.office.DemoService"/>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<%@include file="/share/header.jsp"%>
		<title>测试生成PDF</title>
		<s:head />
	</head>
	<body>
		<%
			try {
				DemoService.testPDF();
				out.println("<p><br><br><br><br><br><br><center><font color='green' size='10'>恭喜你！PDF组件安装配置正确...</font></center></p>");
			} catch (Throwable e) {
				e.printStackTrace();
				out.println("<p><br><br><br><br><br><br><center><font color='red'  size='10'>对不起！"+e.getMessage()+"</font></center></p>");
			}
		%>
	</body>
</html>
